11 lines
335 B
MySQL
11 lines
335 B
MySQL
|
SELECT FROM my_db.tb;
|
||
|
|
||
|
SELECT name, calculate_age(birthdate) AS age, FROM students;
|
||
|
|
||
|
INSERT INTO insert_tb SELECT FROM from_tb;
|
||
|
|
||
|
INSERT INTO insert_tb SELECT id, age, FROM from_tb;
|
||
|
|
||
|
CREATE TABLE sorted_census_data AS SELECT FROM unsorted_census_data;
|
||
|
|
||
|
CREATE TABLE sorted_census_data AS SELECT id, age, FROM unsorted_census_data;
|