k
Size: a a a
k
k
SY
SELECT students.name AS st_name FROM students order by students.age limit 3
UNION
SELECT teachers.name AS tc_name FROM teachers order by teachers.age desc limit 3
UNION
SELECT courses.name AS cr_name FROM courses order by courses.duration desc limit 3;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNION' at line 2
SY
Е
SY
k
SELECT students.name AS st_name FROM students order by students.age limit 3
UNION
SELECT teachers.name AS tc_name FROM teachers order by teachers.age desc limit 3
UNION
SELECT courses.name AS cr_name FROM courses order by courses.duration desc limit 3;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNION' at line 2
SY
AA
SELECT students.name, students.age FROM students
UNION
SELECT teachers.name, teachers.age FROM teachers
UNION
SELECT courses.name, courses.duration FROM courses
LIMIT 3;
Он мне логично выводит в один столбец всю кашу из элементов.АА
k
SY
АА
SY
АА
SY
АА
SY
SY
k