 |
ช่วยทีคับเกี่ยวกับ คำสั่ง select คับ st_year เป็นชื่อฟิล ปี st_month เป็นชื่อฟิล เดือน st_day เป็นชื่อฟิล วัน อันนี้เป็นค่าที่รับมาจาก from นะคับ |
|
 |
|
|
 |
 |
|
select CONCAT(st_year,"-",st_month,"-",st_day) , st_bt, st_id , count(st_id) as cnt from station
where
TODAYS(CONCAT(st_year,"-",st_month,"-",st_day))
between TODAYS($fullday_1) and TODAYS($fullday_2)
group by st_bt order by cnt
|
 |
 |
 |
 |
Date :
25 มี.ค. 2551 11:37:44 |
By :
pok1709 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
CONCATคืออะไรอะคับ รบกวน บอกทีคับ
|
 |
 |
 |
 |
Date :
25 มี.ค. 2551 12:07:04 |
By :
sacrifices |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|