Jump to content
php.lv forumi

Recommended Posts

Posted

Tabula:

c1	c2
100	j
90	i
80	h
70	g
60	f
50	e
40	d
30	c
20	b
10	a

 

Vai var kaut kā selektēt top 5 no c1 un rezultātu sakārtot pēc c2 bez ieliktajiem query (SELECT * FROM (SELECT...))?

 

Vajadzīgais rezultāts:

f	60
g	70
h	80
i	90
j	100

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...