Page 1 of 1

1.17 Proj 0: Data Mining - Post MySQL Queries

Posted: Mon Jan 16, 2012 1:48 am
by glegrady
Review the query projects by Christo de Clerck https://docs.google.com/document/d/1fK4 ... t?hl=en_US and Matthew Willse https://docs.google.com/document/d/1Hpe ... t?hl=en_US

Following their model, post the following:

Data Mining Question
The Sql Query
Explanation of the query
Processing Time
Comment & Analysis

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Sun Jan 22, 2012 2:45 pm
by rjduranjr

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Sun Jan 22, 2012 2:52 pm
by anisbharon

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Mon Jan 23, 2012 7:39 pm
by hanyoonjung

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries - Ankit

Posted: Tue Jan 24, 2012 3:44 am
by ansh2201
Please find my writeup, query and some mock visualization (using gnuplot) here -
https://docs.google.com/document/d/1Ufh ... 67t1s/edit


--
Ankit

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Tue Jan 24, 2012 11:55 am
by davidgordonartist

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Tue Jan 24, 2012 11:58 am
by muhammadhafiz

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Thu Jan 26, 2012 1:37 am
by Amusesmile
Hey Yoon,

I think this query is actually closer to what you want. Saying year(ckoutDateTime) = 2011 isn't necessary because we're saying that the ckoutDateTime has to be after 2011-09-04. Also you need parenthesis around the title and subject criteria because otherwise the OR will make MySQL ignore the ckoutDateTime >= '2011-09-04' part:

SELECT
count(*)
FROM transactions2011
WHERE
ckoutDateTime >= '2011-09-04'
AND (TITLE LIKE "%Steve Jobs%"
OR subject1 like "%Steve Jobs%"
OR subject2 like "%Steve Jobs%"
OR subject3 like "%Steve Jobs%"
OR subject4 like "%Steve Jobs%"
OR subject5 like "%Steve Jobs%")
ORDER BY ckoutDateTime;

Re: w2 Jan 17 - Data Mining I: Post MySQL Queries

Posted: Wed Feb 01, 2012 10:19 pm
by dallasmercer
MAT 259 Assignment #1
Dallas Mercer

https://docs.google.com/document/d/1uEG ... t?hl=en_US