php - Select second last row of database -


for school project i'm making web portfolio. on site i'm using subject: "projects" on site these 3 colums. question generated them last 3 rows database, can't fixed. can body me?

what need select last second row database can display in portfolio

select * [table name] 1 order id desc limit 1,1 ; 

where id can auto increment primary key of table. mysql query syntax


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -