auto commit
This commit is contained in:
parent
4c87ed95e1
commit
845d610630
@ -105,15 +105,14 @@ https://leetcode.com/problems/swap-salary/description/
|
|||||||
```sql
|
```sql
|
||||||
DROP TABLE
|
DROP TABLE
|
||||||
IF
|
IF
|
||||||
EXISTS World;
|
EXISTS salary;
|
||||||
CREATE TABLE World ( NAME VARCHAR ( 255 ), continent VARCHAR ( 255 ), area INT, population INT, gdp INT );
|
CREATE TABLE salary ( id INT, NAME VARCHAR ( 100 ), sex CHAR ( 1 ), salary INT );
|
||||||
INSERT INTO World ( NAME, continent, area, population, gdp )
|
INSERT INTO salary ( id, NAME, sex, salary )
|
||||||
VALUES
|
VALUES
|
||||||
( 'Afghanistan', 'Asia', '652230', '25500100', '203430000' ),
|
( '1', 'A', 'm', '2500' ),
|
||||||
( 'Albania', 'Europe', '28748', '2831741', '129600000' ),
|
( '2', 'B', 'f', '1500' ),
|
||||||
( 'Algeria', 'Africa', '2381741', '37100000', '1886810000' ),
|
( '3', 'C', 'm', '5500' ),
|
||||||
( 'Andorra', 'Europe', '468', '78115', '37120000' ),
|
( '4', 'D', 'f', '500' );
|
||||||
( 'Angola', 'Africa', '1246700', '20609294', '1009900000' );
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Solution
|
## Solution
|
||||||
|
Loading…
x
Reference in New Issue
Block a user