Jump to content

[SOLVED] SQL query help


LemonInflux

Recommended Posts

Just a quick question. I have a table like this:

+-----------+-----------------------+

|  item id    |  item                        |

+-----------+-----------------------+

|      1        |      blah1                  |

|      2        |      blah2                  |

|      3        |      blah3                  |

|      4        |      blah4                  |

+-----------+-----------------------+

 

Awful diagram, sorry. Anyways, say this table goes on for, say, 60 records. Now, how do I show the first 30 records in reverse order. So, it would look like this:

 

blah30

blah29

blah28

blah27

blah26

blah25

 

etc. until it reached blah1.

 

How do I do this?

Link to comment
https://forums.phpfreaks.com/topic/73223-solved-sql-query-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.