example
trackid | artistid | albumid | track_name | video_stream | video_download | artist_name ---------+----------+---------+---------------------------------------------+--------------+----------------+------------- 1001001 | 1 | 1001 | You make me smile | f | f | 1001002 | 1 | 1001 | She's my ride home | f | f | 1001003 | 1 | 1001 | Into the ocean | f | f | 1001004 | 1 | 1001 | What if we could | f | f | 1001005 | 1 | 1001 | Hate me | t | t | 1001006 | 1 | 1001 | Congratulations | f | f | 1001007 | 1 | 1001 | Overweight | f | f | 1001008 | 1 | 1001 | Let it go | f | f |
the table doesnt match up. but the tables continues to have artist id 2 then 3, 4 etc.
if i wanted to add 'blue october' where artistid is 1 i thought it was this.
INSERT INTO tracks (artist_name) VALUES ('Blue October') WHERE artistid=1;
this isnt working. what is the correct syntax to add data into only one column across specific rows.
Edited by WingedPanther, 06 May 2009 - 07:19 AM.
a


Sign In
Create Account


Back to top









