test.innerHTML += "<input type='radio' name='choices' value='A'> "+chA+"<br>";
test.innerHTML += "<input type='radio' name='choices' value='B'> "+chB+"<br>";
test.innerHTML += "<input type='radio' name='choices' value='C'> "+chC+"<br><br>";
test.innerHTML += "<input type='radio' name='choices' value='"+questions[pos][4]+"' checked> Верный ответ <br><br>";
SELECT *
FROM TABLE t5
JOIN (
SELECT MAX(t1.id) AS id
,t1.action
,t1.DATE
FROM TABLE t1
JOIN (
SELECT t2.action
,max(t2.DATE) AS DATE
FROM TABLE t2
GROUP BY t2.action
) t3 ON t1.action = t3.action
AND t1.DATE = t3.DATE
GROUP BY t1.action
,t1.DATE
) t4 ON t4.id = t5.id
@-webkit-keyframes fadeInDownBig {
0% {
opacity: 0;
-webkit-transform: translateY(-2000px);
transform: translateY(-2000px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
}