Find Jobs
Hire Freelancers

Single MSSQL Query

$10-15 USD

Tamamlandı
İlan edilme: yaklaşık 22 yıl önce

$10-15 USD

Teslimde ödenir
I'm using MS FTS (Full Text Search) Service on MS-SQL2K. For some reason, I can't seem to get this query to work for me. I have a products table of computer related hardware, sorted out by Category_id (i.e - hp5l and hp6l have a category_id of 6 which is "laser printers"). I want to output a FTS query (using containstable), but to output only a maximum of 2 records PER CATEGORY_ID. The FTS query is working great, it's just the distinct issue causing me problems: SELECT Product.Product_id,Product.Product_title,Product.Category_id FROM Product INNER JOIN CONTAINSTABLE(Product,*,SearchTerm,10) AS Ranking ON Product.Product_id=Ranking.[key] LEFT JOIN Category ON Product.Category_id=Category.Category_id WHERE Product.Product_status IS NOT NULL ORDER BY [login to view URL] DESC I need a TSQL query to output a sorted FTS (based on the above query) by rank (desc) and then, "grouped" by Category_id. Very similiar to what Google does on this link: [login to view URL] (Notice that ONLY the first 2 results come from [login to view URL]) Anyone who knows SQL, that should be easy for you (I guess), I will post perfect feedback on whoever can get this working by tommorow. Let me know what's your bid too, and if you need more information. Thanks! Michael. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ## Platform Win2K,SQL2K ## Deadline information I can beta test and debug your query as I have enough content to try it on. Do not forget to optimize this as much as possible.
Proje No: 2844714

Proje hakkında

3 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 22 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
See private message.
$12 USD 14 gün içinde
5,0 (11 değerlendirme)
3,4
3,4
3 freelancers are bidding on average $25 USD for this job
Kullanıcı Avatarı
See private message.
$55,25 USD 14 gün içinde
4,3 (24 değerlendirme)
4,3
4,3
Kullanıcı Avatarı
See private message.
$8,50 USD 14 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   ISRAEL bayrağı
Israel
5,0
31
Ağu 8, 2001 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.