Search
 
SCRIPT & CODE EXAMPLE
 

SQL

MYSQL select last query

select `COLUMN_NAME_1`, `COLUMN_NAME_2` from `TABLE_NAME` ORDER BY id DESC LIMIT 1;
Comment

PREVIOUS NEXT
Code Example
Sql :: postgresql create user 
Sql :: mysql add text to existing field 
Sql :: reseed sql table primary key 
Sql :: update mongodb version ubuntu 
Sql :: mysql insert value date 
Sql :: sql server concat string and int 
Sql :: get all tables using like 
Sql :: change database name psql 8 
Sql :: how to update random rows in sql 
Sql :: mysql add column with default value 
Sql :: postgres set column based on another column 
Sql :: how to truncate table with foreign key constraint postgresql 
Sql :: rename field name in mysql 
Sql :: alter column to null 
Sql :: oracle nextval 
Sql :: error code 1451 sql 
Sql :: postgresql set auto increment value 
Sql :: username sql 
Sql :: create or replace view postgress 
Sql :: how to make a select in sql 
Sql :: create view in sql 
Sql :: unsigned int in mysql 
Sql :: how to copy data in sql 
Sql :: update with join 
Sql :: sql left characters 
Sql :: SQL Error 1040 : Too many connections 
Sql :: date format mysql 
Sql :: how to uninstall postgresql 13 on mac 
Sql :: update with inner join sql server 
Sql :: creating index in mysql 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =