Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Rno 37 boat
create table sailors(id int, name char(10), rating int, age int); create table reserve(id int,bid int, day char(10)); create table boats(bid int, bname char(10), colour char(10)); insert into sailors(id,name,rating,age) values(1,'A', 2, 20); insert into sailors(id,name,rating,age) values(2,'B', 3, 23); insert into sailors(id,name,rating,age) values(3,'C', 5, 25); insert into reserve(id, bid, day) values(1,101,'17-12-2019'); insert into reserve(id, bid, day) values(2,104,'21-12-2019'); insert into boats(bid, bname, colour) values(101,'R','Blue'); insert into boats(bid, bname, colour) values(104,'K','Red'); select * from sailors; select * from reserve; select *from boats;
run
|
edit
|
history
|
help
0
BRYANActual
Stuff
STACK
Status History
Running Total
Exam_Final
Count by days
Student
SO 51804194 : sql-recursive-cte-replace-statement-too-slow
Branch