Q:

how to fetch data from database without last column

SELECT fields FROM table ORDER BY id DESC LIMIT 1;
3
SELECT lastName,firstName FROM Customer
       WHERE lastName LIKE "B%"
         AND city = "Indianapolis"
         AND (phone LIKE "%8%" OR fax LIKE "%8%")
0

New to Communities?

Join the community