SQLize Online / PHPize Online

A A A
Share   Donate   Blog   Popular
Copy Format Clear
CREATE TABLE t ( id INT NOT NULL , name VARCHAR(20) , dt datetime ) ; INSERT INTO t VALUES (1, 'A', GetUtcDate()) ; INSERT INTO t VALUES (2, 'A', DATEADD(day, 1, GetUTCDate())) ; INSERT INTO t VALUES (3, 'A', DATEADD(day, 2, GetUTCDate())); INSERT INTO t VALUES (4, 'B', GetUTCDate()) ; INSERT INTO t VALUES (5, 'B', DATEADD(day, 3, GetUTCDate())) ; select * from t;
Stuck with a problem? Need help? Ask professionals on our Telegram channel!
Join the channel
Your quersion is posted.
Join our Telegram channel and get answers.
Send
Copy