Drop files here

SQL upload ( 0 ) x -

Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count: Time taken:
Options
Restore default values
Collapse Expand Requery Edit Explain Profiling Query failed Database: Queried time:
Untitled *
v Show/Hide tables list View in full-screen Add tables from other databases New page Open page Save page Save page as Delete pages Create table Create relationship Choose column to display Reload Help Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > Move Menu > Pin text
Number of tables: 0
v world City
* ID : int(11)
* Name : char(35)
* CountryCode : char(3)
* District : char(20)
* Population : int(11)
v world Country
* Code : char(3)
* Name : char(52)
* Continent : enum('Asia','Europe','North America','Africa','Oceania','Antarctica','South America')
* Region : char(26)
* SurfaceArea : float(10,2)
* IndepYear : smallint(6)
* Population : int(11)
* LifeExpectancy : float(3,1)
* GNP : float(10,2)
* GNPOld : float(10,2)
* LocalName : char(45)
* GovernmentForm : char(45)
* HeadOfState : char(60)
* Capital : int(11)
* Code2 : char(2)
v world CountryLanguage
* CountryCode : char(3)
* Language : char(30)
* IsOfficial : enum('T','F')
* Percentage : float(4,1)
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship