Where answers come from

Some pages can ask a language model questions. Set this up once; your choice is remembered in this browser for the whole site.

Model source
Use another source instead
You sign in on OpenRouter; it gives this page a key for your account.

Database Design

Originally published .

Let’s say I want a screen that displays a list of MP3s with Genre, Artist, Album, Song Name, Play Length. What would the database table for this look like? Many neophytes would design a table that looked like:

MP3Files

Column

Typedefault

MP3ID

int

auto increment

Genre

varchar(255)NULL

Artist

varchar(255)NULL

Album

varchar(255)

NULL

Song Name

varchar(255)

NULL

Play Length

varchar(255)NULL

… and amazingly never see the problem with this.

Explore the map · Browse by topic and date