Choose which columns to include in your query results
Link tables by specifying relationships between columns
Add conditions to filter your results
Start by creating tables in the Table Designer tab. Add columns with their data types. You can also load a sample database to experiment with pre-populated data.
Use the Query Builder tab to visually construct your SQL query:
Go to the Execute & Test tab to run your query against the database. You can edit the SQL directly or load it from the query builder.
INNER JOIN - Returns only matching rows from both tables
LEFT JOIN - Returns all rows from left table, matching rows from right
RIGHT JOIN - Returns all rows from right table, matching rows from left
FULL OUTER JOIN - Returns all rows when there's a match in either table
= Equal to |
!= Not equal to |
> Greater than |
< Less than |
LIKE Pattern matching |
IN Match any in list
The sample database includes three tables: users, orders, and products. Use them to practice joins and complex queries!