0
我需要这样的执行queries
:Mysql的选择多个ID的
SELECT draw,SUM(uplata) as uplata, SUM(wonamount) as isplata,
SUM(uplata)- SUM(wonamount) as stanje,
COUNT(*) as ukupno_tiketa FROM macau.tickets
WHERE shop ='105' and status != 1 and draw = 1;
我需要执行该查询100次只改变draw = 1
到draw = 2
,draw = 3
,等...
我该怎么办这为mysql workbench
中的每个select statement
获得一个新行,以便能够将所有内容导出到csv file
。
你是一个宝石伙计..谢谢你:) – BlankName 2014-10-29 22:37:46
@BlankName welcome :)但如果这回答你的问题,请标记为答案,所以它被关闭。谢谢。 – Payam 2014-10-29 22:39:41