|
![](/images/resource/spacer.gif) |
|
คำสั่ง SQL คับคือตารางผม มี 20 field คับ และผม ต้องการเลือก 18 field มาแสดง จะต้องเลือกอย่างไงคับ ถ้าจะเขียนแบบ SELECT field1,field2,field3,....field18 FROM table มันยาวไปอะคับมีวิธีไมคับ ? |
|
![](/images/resource/viewboard_01.gif?v=1001) |
|
|
![](/images/resource/viewboard_03.gif?v=1001) |
![](/images/resource/viewboard_04.gif?v=1001) |
|
ใช้ * (สำหรับทั้งหมด) หรือไม่ถ้าจะเลือกบาง Column ก็จะต้องแบบนั้นแหละครับ
|
![](/images/resource/blockviewtopic_01.gif?v=1001) |
![](/images/resource/blockviewtopic_02.gif?v=1001) |
![](/images/resource/blockviewtopic_03.gif?v=1001) |
![](/images/resource/blockviewtopic_04.gif?v=1001) |
Date :
2013-01-14 13:10:13 |
By :
mr.win |
|
![](/images/resource/blockviewtopic_06.gif?v=1001) |
![](/images/resource/blockviewtopic_07.gif?v=1001) |
![](/images/resource/blockviewtopic_08.gif?v=1001) |
![](/images/resource/blockviewtopic_09.gif?v=1001) |
|
|
![](/images/resource/viewboard_06.gif?v=1001) |
![](/images/resource/viewboard_07.gif?v=1001) |
|
![](/images/resource/viewboard_08.jpg?v=1001) |
![](/images/resource/viewboard_09.gif?v=1001) |
|
|
Load balance : Server 04
|