Jump to content

Recommended Posts

Hi,

I needs help in following Mysql issue.

 

I have a table of two columns 'col_code(varchar)' , 'col_num(bigint)'. For more clarification I'm giving sample datas to the table

 

col_code  col_num

AG-123      123

AG-88        88

EX-16        16

EX-220        220

AG-10        10

 

I needs to display the datas in following order :- AG-10, AG-16, AG-123, EX-16, EX-220

ie; first order by Alabetical and then numerical.  Is it possible with these two columns. If yes, how can I write the sql statement with the order clause .. ??

 

Please help...........Thanks in advance.

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.