SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
-- Hint: use Ctrl+Enter for SQL autocomplete create table icons (id int, publication int, icon_id int); insert into icons values (1, 1, 1), (1, 1, 2); select icons.icon_id + 1 from icons left join icons as next_icon on icons.icon_id + 1 = next_icon.icon_id where next_icon.icon_id is null and icons.icon_id between 2 and 40 limit 1;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear