1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| CREATE DATABASE wyy_music;
USE wyy_music;
DROP TABLE IF EXISTS `tb_music`; CREATE TABLE `tb_music` ( `music_id` VARCHAR(255) NOT NULL, `music_name` VARCHAR(255) NOT NULL, `music_album_name` VARCHAR(255) NOT NULL, `music_album_picUrl` VARCHAR(255) NOT NULL, `music_mp3Url` VARCHAR(255) NOT NULL, `music_artist_name` VARCHAR(255) NOT NULL, `sheet_id` INT(11) DEFAULT NULL, PRIMARY KEY (`music_id`) ) ENGINE=INNODB DEFAULT CHARSET=utf8;
INSERT INTO tb_music VALUES ('1', '大碗宽面', '大碗宽面', 'http://p1.music.126.net/yDFbKhM9wIO0GWEuOvxhVg==/109951164007799327.jpg?param=130y130', 'http://music.163.com/song/media/outer/url?id=1359595520.mp3', '吴亦凡','1'); INSERT INTO tb_music VALUES ('2', '来自天堂的魔鬼', '新的心跳', 'https://p1.music.126.net/kVwk6b8Qdya8oDyGDcyAVA==/1364493930777368.jpg', 'http://music.163.com/song/media/outer/url?id=36270426.mp3', 'G.E.M.邓紫棋','1'); INSERT INTO tb_music VALUES ('3', '好久不见', '认了吧', 'https://p1.music.126.net/o_OjL_NZNoeog9fIjBXAyw==/18782957139233959.jpg', 'http://music.163.com/song/media/outer/url?id=65538.mp3', '陈奕迅','2');
DROP TABLE IF EXISTS `tb_sheet`; CREATE TABLE `tb_sheet` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `sheet_name` VARCHAR(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
INSERT INTO tb_sheet VALUES ('1', '华语金曲榜'); INSERT INTO tb_sheet VALUES ('2', '陈奕迅精选'); INSERT INTO tb_sheet VALUES ('3', '抖音热门歌曲');
|