Delta Posted December 20, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 09/27/12 Last Seen: April 10, 2015 Share Posted December 20, 2014 query_sql "SELECT `id`,`nameid`,`amount`,`identify`,`refine`,`attribute`,`card0`,`card1`,`card2`,`card3` FROM `reward_table` WHERE `char_id` Quote Link to comment Share on other sites More sharing options...
Cydh Posted December 20, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share Posted December 20, 2014 maybe? CREATE TABLE `reward_table` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `char_id` INT(11) UNSIGNED NOT NULL, `nameid` SMALLINT(5) UNSIGNED NOT NULL, `amount` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `identify` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `card0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `card1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `card2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `card3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) Engine=InnoDB AUTO_INCREMENT=1; Quote Link to comment Share on other sites More sharing options...
Delta Posted December 20, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 09/27/12 Last Seen: April 10, 2015 Author Share Posted December 20, 2014 Thanks maybe? CREATE TABLE `reward_table` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `char_id` INT(11) UNSIGNED NOT NULL, `nameid` SMALLINT(5) UNSIGNED NOT NULL, `amount` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1', `refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `identify` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `attribute` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', `card0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `card1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `card2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', `card3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) Engine=InnoDB AUTO_INCREMENT=1; Thanks cydh it is working now! Is there site that I can read and learn about making sql tables? btw one last request, I'll send a pm to you. Quote Link to comment Share on other sites More sharing options...
exchisu Posted December 20, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 60 Reputation: 1 Joined: 12/12/13 Last Seen: July 22, 2023 Share Posted December 20, 2014 same ask.. but a different.. i need to create a table named feedback on sql too with this values... i dont know sql.. anybody can help me please ? feedback(player,type,time,playermap,playerx,playery,feedback,status) Quote Link to comment Share on other sites More sharing options...
Question
Delta
query_sql "SELECT `id`,`nameid`,`amount`,`identify`,`refine`,`attribute`,`card0`,`card1`,`card2`,`card3` FROM `reward_table` WHERE `char_id`
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.