1
Next I need to formulate a SELECT
, whose function is to show episodes in order of seasons, example T1E1
, T1E2
, T2E1
continuously, for the following structure :
`eid` int(10) NOT NULL,
`aid` varchar(6) NOT NULL,
`hits` int(11) NOT NULL,
`titulo` varchar(200) DEFAULT NULL,
`numero` varchar(15) DEFAULT NULL,
`descargas` text,
`videos` text NOT NULL,
`estado` int(1) NOT NULL DEFAULT '0',
`fecha_salida` date NOT NULL DEFAULT '0000-00-00',
`temporada` varchar(15) DEFAULT NULL
is returning in this way : http://sqlfiddle.com/#! 9/32c11b7/2
temporada
stores the season number, or what? , and which field represents the episode?– Sveen
Da to use CONCAT to join words and print with SELECT, but you must use "ORDER BY season,episode" to sort, if they are integer numbers and not words (varchar)
– Sveen
In the Case the "number" represents the episode, and "season", and the number of the same.
– Gabriel