Edit Copy Delete 119 anand a f 1957-05-08 5678 s yyyy [email protected] 2014-02-17 11:42:39 1
Edit Copy Delete 120 gangadhar m 1952-02-04 495 c xxxx [email protected] 2014-02-17 12:02:16 3,4
Edit Copy Delete 124 ganesh r m 1991-09-04 9840 s zzzz [email protected] 2014-02-26 12:45:58 1
Edit Copy Delete 125 manesh a m 1991-02-05 9841 s zzzzz [email protected] 2014-02-26 12:45:5
我想獲取今天插入的最後兩行細節。我如何根據當前日期獲取數據。如何根據當前日期獲取數據?
這裏是我的查詢它是不是給需要的輸出..
SELECT *
FROM stud_enq
WHERE date_time = GETDATE()
的數據庫? –
SELECT * FROM stud_enq order by date_time limit 2? – StanislavL
@StanislavL omg no – Alexander