我想從表中獲取一週。該表有一個字段tblweekoff使用MYSQL從結果中獲取報告
fldid flddept fldemployee fldintime fldouttime fldlateafter fldearlybefore fldweekoff fldshiftname fldassigndate fldfromdate fldtodate fldrefid
1 Corporate 00625267-Karthick S 09:30 am 06:15 pm 09:30 am 06:15 pm Sat,Sun, COR-General Shift 07-25-2012 07-01-2012 07-31-2012
我想獲得像這樣的報告。
fldemployee flddate fldweekoff
00625267-Karthick S 07-25-2012
00625267-Karthick S 07-27-2012
00625267-Karthick S 07-28-2012 weekoff
00625267-Karthick S 07-29-2012 weekoff
00625267-Karthick S 07-30-2012
00625267-Karthick S 07-31-2012
00625267-Karthick S 08-01-2012 weekoff
00625267-Karthick S 08-02-2012 weekoff
00625267-Karthick S 08-03-2012
00625267-Karthick S 08-04-2012
......
我想從2012年7月25日的報告,2012年8月10日是指由上述結果顯示這樣的..
請幫我做..
您使用的工作臺? – Francois