Programming Fundamentals: Computer Languages and Processors
- Computer
- English
- 6 topics
- 02 Nov 2026
- By A Z Computing
- Class 11 Science
- Class 11 Commerce
- Class 11 Arts
| Component | Type | Function |
|---|---|---|
| MySQL Server | Backend | Processes queries and manages physical database storage |
| MySQL Workbench | Frontend GUI | Provides user interface to write queries and inspect schemas |
| DDL Command | Target | Effect on Data Rows | Effect on Table Structure |
|---|---|---|---|
| CREATE | Structure | Initializes empty table | Builds new table blueprint |
| ALTER | Structure | Preserves existing rows | Modifies columns/types |
| DROP | Structure & Data | Deletes all rows permanently | Removes table completely |
| TRUNCATE | Data Only | Deletes all rows permanently | Retains table structure |
| Key Type | Uniqueness | Allows NULL? | Max Per Table |
|---|---|---|---|
| Primary Key | Must be Unique | No | 1 |
| Unique Key | Must be Unique | Yes (One NULL) | Multiple |
| Foreign Key | Can duplicate | Yes | Multiple |
| Candidate Key | Must be Unique | No | Multiple |
| Composite Key | Combined Unique | No | 1 |
| Surrogate Key | Auto-incremented Unique | No | 1 |
| Clause | Purpose | Execution Timing | Works with Aggregates? |
|---|---|---|---|
| WHERE | Filters individual rows | Before GROUP BY | No |
| HAVING | Filters grouped aggregate results | After GROUP BY | Yes |
| Execution Step | Clause | Operation Performed |
|---|---|---|
| 1 | FROM | Identifies source table(s) and joins |
| 2 | WHERE | Filters raw rows based on conditions |
| 3 | GROUP BY | Groups remaining rows by column values |
| 4 | HAVING | Filters aggregated groups |
| 5 | SELECT | Computes expressions and selects output columns |
| 6 | ORDER BY | Sorts the final result rows |
| 7 | LIMIT | Restricts total number of returned rows |
| Join Type | Left Table Records Returned | Right Table Records Returned | Non-Matching Values Filled With |
|---|---|---|---|
| INNER JOIN | Only matching rows | Only matching rows | N/A (Excluded) |
| LEFT JOIN | All rows | Only matching rows | NULL |
| RIGHT JOIN | Only matching rows | All rows | NULL |
| FULL JOIN | All rows | All rows | NULL |
Have a lecture of your own? Paste the YouTube link and get notes, a quiz and flashcards.
Make notes from a YouTube videoBrowse every checked set of notes, filed by exam and subject.
Open the notes libraryMade this video? Remove these notes