I want to delete a row from one of my .sql tables by a user defined integer (1 through rowCount()). The below is pseudocode, but it illustrates what I want I think.
$i = 1; //example
$quedb = $db->query("
DELETE *
FROM table
WHERE ROWNUMBER = '$i'
");
Is there a way to do this within the SQL environment? I don't want to delete a row based on a specific element (a friend of mine suggested querying for an element in the row I define, but I just want to delete the nth row, where n is user defined).