Web
kpop-web.com
Main Menu
·
Home
·
Free Downloads
·
Computing FAQ
·
Contact Us
·
Free Software Downloads
·
Tech Forum
·
Technology News
·
Web Design Help
·
Web Links
·
Your Online Account
·
Your PM
Web Browser
Website Links
White Papers IT
Learn Korean
Chinese Pop Music
Advertise Kpop
Korean Pop Site Map
Web Design
Pop Music
Chinese Girls
HK Pop
Korean Music
Lee Hyori
Hyori
Boa
Park Ji Yoon
Baby Vox
YG Family
Jeon Ji Hyun
1 Tym
Ha Ji Won
Shyne
Rain
Bi
Shin Mina
SM Town
Fly to the Sky
Korean Girls and Models
Nicholas Tse
161 Clan
보아
Edison Chen
Sung Hi Lee
Shinhwa
Andy Lau
Jay Chou
White Papers
Case Study
SES
Kelly Chen
Liu Yi Fei
Sammi Cheng
Jordan Chan
Music
Computer Jobs IT
Computer Help Forum and Programming Advice :: View topic - Select top 10 records except for the top 10 records
Forum FAQ
Search
Usergroups
Profile
Log in
Select top 10 records except for the top 10 records
Computer Help Forum and Programming Advice Forum Index
->
SQL and Databases
View previous topic
::
View next topic
Author
Message
londis
Web Design Newbie
Joined: Jul 18, 2004
Posts: 47
Posted: Wed Oct 19, 2005 1:10 am
Post subject: Select top 10 records except for the top 10 records
I want an SQL query - select top 10 records except for the top 10 records.
Have some theory, i think it should work, i havnt figure it out yet. I couldnt get my sql running.
I just need a SQL statement that
SELECT TOP 10 records
FROM table
WHERE records NOT (SELECT TOP 10 from table)
its not working and it wont run as i expect it.
select top 10 * employees
from employees
where NOT employee_id IN (select top 10 employee_id from employee)
no views pls. just sql statement.
basically the query means select the next 10 records after the first top 10 records
Back to top
Jon
Web Design Admin
Joined: Jul 12, 2004
Posts: 72
Posted: Wed Oct 19, 2005 1:12 am
Post subject:
Did you try doing the following:
SELECT TOP 20 *
FROM Table T1
WHERE T1.Col1 NOT IN (SELECT TOP 10 Col1 FROM Table)
_________________
Free Music
Cpop
Server Definition
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Computer Help Forum and Programming Advice Forum Index
->
SQL and Databases
All times are GMT + 10 Hours
Page
1
of
1
Jump to:
Select a forum
Programming or Learning Help
----------------
Html
Php
Asp
Graphic Workshop
SQL and Databases
CCNA, MCSE, A Plus, CISSP Help
Networking Help
General Programming
Information Security
Computer Hardware and Software Help
----------------
FREE Share Computer Software
Introduce Yourself
Adware and spyware prevention tips
Computing in the News
Computer General Help Topic
Hardware Help
Webhosts
Product Review
Website and Computer Help
----------------
Site Suggestions
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Forums ©
Learn Chinese
|
Learn cantonese
|
Learn Mandarin
|
Grace Park
|
Party Organisers
|
Kaila yu
|
Phone Card
|
Twins
|
Chinese Society
|
Loans UK
|
BokuMaro
|
CV Help Book
|
Chinese Wife
|
Korean Singles
|
British Born Chinese
|
Bae Yong Jun
|
Speak Korean
|
Chinese Models
|
Music
|
Information Security Management
|
Maritime Greenwich Campus
|
Covering Letters Help
|
Chinese Music
|
Jang Nara
|
SES
|
YG Family
|
Learn Korean
|
Firewall Definition
|
Server Definition
|
Wireless Network Definition
|
E-Commerce Definition
|
Sales Leads
|
Application Firewall
|
CCNA definitions
|
Research Papers
|
Webcast
|
CV Help
Author K
Pop Music
:-
Jon Bock
(
Chinese Pop
Music
Learn Korean
)
Produced by Kpop-
Web Design
Associates, all rights not reserved.
Internet Marketing
and
Search Engine Optimisation
Software Defined Radio