all groups > sql server data mining > november 2003 > threads for november 22 - 28, 2003
Filter by week: 1 2 3 4 5
Mental block on a query
Posted by Peter Newman at 11/28/2003 5:07:45 AM
I have a table containing 6 fields ( Varchars )
I have ceated a query
Select F1, F2, F3, F4, F5, F6, Count(f1) AS TOTALRETURNED
From Table 1
Where (F1 = ' Value' AND F2 = ' Value)
Group By F1, F2, F3, F4, F5, F6, TotalReturned
This should only ever return 1 record. The problem i am
ge... more >>
samprovider
Posted by ruiji hao at 11/27/2003 9:41:37 PM
when i compile the dmsamprovider code ,there are some wrong as follows:
e:\dmsampleprovider\putl\putillib.h(48) : fatal error C1083: Cannot
open include file: 'jetoledb.h': No such file or directory
Can you tell me the reason for this,and i want to know if i want to
add my algorith... more >>
Is there a Last() function in SQL-Server
Posted by Deepak Gurung at 11/26/2003 9:00:43 PM
Hi All,
There is a function in Access called "Last()" which
returns the last record value in a group.
For example.
A B
-------
1 10
1 7
2 21
2 2
2 4
3 6
Here, Last() function In Access returns as follows:
A B
------
1 7 (the last value for A=1)
2 4 (th... more >>
How to delete duplicates
Posted by Derek Shi at 11/26/2003 10:54:24 AM
Hello,
I want to find out which is the best and efficient way to
delete duplicate records in one table? Any ideas?
Thanks,
Derek... more >>
same query with different option, but the run time is various
Posted by Yuling at 11/25/2003 6:36:10 PM
Hi,
I run the following query
select distinct a.fk_productid
from v_testview a
inner join TestProduct b
on a.fk_productid = b.fk_productid
Where b.fk_rsuid = 5
and b.active = 1
and a.quantity > 0
and a.fk_rsuid = 5
If I use fk_rsuid=1, then it only take about 14 sceonds. If I use ... more >>
Is this possible?
Posted by Lin Jones at 11/25/2003 11:44:50 AM
I am trying to create a mining model so I can predict a
shipment date based on past purchases. Can I have the
shpment date be the predictable column or is that
considered continuous and will not work? Also, I am a
bit confused as to how I would tie together the
purchases, shipments and p... more >>
Formating Decmial Places in an Expression
Posted by Anthony Boyd at 11/24/2003 6:33:07 PM
I'm trying to find a way to set the decimal places returned in an expression
through a view, I've listed the SQL statement below. The two expressions I
am looking at are the PagesHr and the BatchesHr, they are showing 12 decimal
places and I would like the to show only 2. I've used the LEFT and... more >>
Inner Join experts out there??
Posted by news-east.earthlink.net at 11/22/2003 12:52:35 AM
The scenario:
two tables
CustomerTable
---------------
CustomerID
OrderID
CustomerName
CustomerEmail
CustomerPhone
OrderTable
---------------
OrderID
ProductID
ProductName
ProductCost
This database was handed to me and I was asked to solve a problem - it looks
like an inner j... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|