carousell
.CREATE TABLE
StatementsCREATE TABLE
statements to create all tables and relationships in the ERD. Record these statements in a file init_tables.sql
.INSERT
StatementsINSERT
statements to insert dummy data into the tables. Record these statements in a file seed.sql
.SELECT
StatementsSELECT
queries you might need to render a given page on Carousell, for example this listings page. Don't worry about INSERT
or UPDATE
queries, or queries for searches. Record the SELECT
statements in a file queries.sql
.