Ca1icoJack
IS-IT--Management
I'm completely new to SQL and would like to know exactly what I can do with it.
I want to be able to extract a load of data for a feature, calculate some new values, order the data by date and take the most recent 30 values. Then repeat this for each feature.
An example of the value I'd want to calculate is the percentage of features for a particular item out of tolerance for the day. So if two items are measured each with 13 features and two wrong on the first and one on the second the value would be 300/26.
I'd then want to be able to create colour coded tables with the data (of a specific format I'm currently manually creating)
Is it possible to do all of this directly with SQL manipulation. Or will I have to pull the data out of the database and manipulate it with Excel?
I hope the explanation of what I want makes some sense.
Thanks very much
I want to be able to extract a load of data for a feature, calculate some new values, order the data by date and take the most recent 30 values. Then repeat this for each feature.
An example of the value I'd want to calculate is the percentage of features for a particular item out of tolerance for the day. So if two items are measured each with 13 features and two wrong on the first and one on the second the value would be 300/26.
I'd then want to be able to create colour coded tables with the data (of a specific format I'm currently manually creating)
Is it possible to do all of this directly with SQL manipulation. Or will I have to pull the data out of the database and manipulate it with Excel?
I hope the explanation of what I want makes some sense.
Thanks very much