Skip to content

Instantly share code, notes, and snippets.

@imflamboyant
Created May 4, 2022 08:51
Show Gist options
  • Select an option

  • Save imflamboyant/79cf4cdf8e78f3ed6965a21af8355693 to your computer and use it in GitHub Desktop.

Select an option

Save imflamboyant/79cf4cdf8e78f3ed6965a21af8355693 to your computer and use it in GitHub Desktop.
CREATE DATABASE `songsapi`;
USE `songsapi`;
CREATE TABLE `song`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL,
`artist` varchar(200) NOT NULL,
`duration` int(11) DEFAULT NULL,
`genre` varchar(45) DEFAULT NULL,
`album` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment