skip to Main Content

delete row in phpmyadmin

im tring to delete first row in phpmyadmin but i have problem. i dont get any SQL error. PHP codes if (isset($_POST['delete'])) { echo "deleted"; $delete = $_POST['delete']; $SQL = $odb -> prepare("DELETE FROM `accounts_free`LIMIT 1"); $SQL -> execute(array($delete)); $notify…

VIEW QUESTION

Unknown column in 'on clause' – tried both where and having conditions but same error – Phpmyadmin

SELECT hh_podcast_channel.id FROM hh_podcast_channel inner JOIN ( SELECT hh_podcast_episodes.podcast_id, ROW_NUMBER() OVER(PARTITION BY hh_podcast_episodes.id ORDER BY hh_podcast_episodes.published_on) as rn FROM hh_podcast_episodes ) as t2 ON hh_podcast_channel.id = hh_podcast_episodes.podcast_id having t2.rn = 1 #1054 - Unknown column 'hh_podcast_episodes.podcast_id' in 'on clause'

VIEW QUESTION
Back To Top
Search