SELECT (ฯ) - Filter Rows
Filters rows based on conditions. Use column names with operators:
Age > 21 - Numbers greater than 21
Name = "Arjun Sharma" - Exact text match
City = "Mumbai" - Filter by city
Salary > 50000 - Salary conditions
Department != "HR" - Not equal to HR
PROJECT (ฯ) - Select Columns
Selects specific columns and removes duplicates automatically.
Example: Select "Name, City, Department" to show only those columns.
JOIN (โ) - Combine Tables
Combines rows from two tables based on matching values.
Format: Table1.Column1 = Table2.Column2
UNION (โช) - Combine All Rows
Combines all rows from two compatible tables, removing duplicates.
DIFFERENCE (โ) - Subtract Tables
Returns rows in first table that are NOT in the second table.
INTERSECTION (โฉ) - Common Rows
Returns rows that exist in BOTH tables. Tables must have compatible schemas.
CARTESIAN PRODUCT (ร) - Cross Product
Combines every row from first table with every row from second table. Results can be very large!
RENAME (ฯ) - Change Names
Changes table name or column names without affecting the data.
Format: ฯ(NewName)(OldTable) or ฯ(NewCol1, NewCol2)(Table)
DISTINCT - Remove Duplicates
Removes duplicate rows, keeping only unique tuples in the result.
DIVISION (รท) - Advanced Query
Returns tuples from dividend that are associated with ALL tuples in divisor. Used for "for all" queries.
Keyboard Shortcuts
- Ctrl + Enter - Run Quick Demo
- Ctrl + H - Toggle Help Mode
- F1 - Show Help
- Escape - Close Modals