กระทู้เก่าบอร์ด อ.Yeadram
        
           1,234   1		  
          
					  
		    URL.หัวข้อ / 
		    URL
        
        วันที่ใน query      
    
      มีฟิลด์หนึ่งใน table แสดงผลเป็น 21/01/2011 เมื่อทำเป็น query แล้ว ต้องการให้แสดงผลเป็น 2011 หนึ่งฟิลด์และ 01-2011 อีกหนึ่งฟิลด์ จะต้องใช้คำสั่งอะไรครับ    
    
  
				1 Reply in this Topic. Dispaly 1  pages and you are on page number 1 
				
        
    1 @R08728    
        
    
      select year(xDate) as yDate, format("MM-YYYY") as myDate from table1;    
    
  
      Time: 0.0598s
    
      
		