Loading topic
CREATE TABLE syntax. Here you learn how to classify attributes and how each type is drawn and mapped to tables. GATE questions on ER diagrams often depend on these class4 min readCREATE TABLE statement. Two kinds of constraint decide how entities may be connected: cardinality ratios and participat6 min readCREATE TABLE with PRIMARY KEY 6 min readCREATE TABLE and SELECT. It sets up the vocabulary that the chapters on keys, integrity constraints and normal forms rely on.5 min readCREATE TABLE. It covers the key vocabulary that GATE questions use. It also covers how to count keys, and the mistakes that cost marks.4 min readCREATE TABLE statements. Referential actions get their own chapter. Here we cover the constraint types and ho6 min readCREATE TABLE statements. It covers how a foreign key links two tables, what the database does when a referenced row changes, and the cases GATE questions like to test.4 min readdept_id -> dept_name, and that you know what a primary key is and how to write basic CREATE TABLE, INSERT, UPDATE, and DELETE statements. It covers why some table designs cause bugs, how to spot them from the FDs, and h4 min read