Upload
jatin-batra
View
37
Download
0
Embed Size (px)
Citation preview
Email: [email protected] COMPUTER CENTREISO CERTIFIED 9001:2008
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
SQL is simply is language that makes it easy to pull data from your application’s database.
User SQLInterface Database
Simple queryInternal
operationOutput Data
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
You annoy technical people on your team
Hack together rough approximations for hours
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
“Starting in 2013, after the CMO realizes that
he/she does not have the skill sets in place for
data analytics proficiency, 50% of new marketing
hires will have technical backgrounds.”
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
SQL will help you see, understand and improve
your company’s metrics.
It allows you to access data other analytics tools
cannot
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Make data-driven decisions
Run profitable campaigns using data
Understand every metric in your business
Get superpowers
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
A database works a lot like an Excel spreadsheet. It
will contain multiple tables all with unique names,
like “Customers” with each table containing rows
and columns
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Auto-updating information
Easier to query
Can visualize data automatically
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Select- This command tells SQL what data you want to
see. This data needs to be a part of the table you’re
accessing.
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Form – This command tells SQL where to pull the data
from. What’s the name of the table you’re using to
capture data? Put that after the “ from” statement.
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Join – This command temporarily joins two tables we’d like to search, So that we can pull data from multiple queries. “Join” tells SQL which table we’d like to join, and the “on” modifier tells SQL which columns in those tables should map to each other.
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Where – This statement tells SQL how to access the right data. In this case, we’re telling it to show us users who have gotten errors in production AND who how have signed up within a certain time period.
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Order by – This statement tells SQL how to order your data. This can be useful when pulling massive amounts of information from the database
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Limit – This tells SQL how much data to return. In our case, we’ll only receive the first 15 results that fit the results of this query
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
Avg() – returns the average value
Count() – returns the number of rows
First() – returns the first value of a column or rows
Last() – returns the last value
Max() – returns the largest value
Min() -- returns the smallest value
Sum() – returns the sum
Functions
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
phpMyAdmin
Heroku Postgres Dataclips
Eclipse SQL Explorer
SquirreL
Oracle SQL Developer
Depends on your stack:
Email: [email protected]
Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670
ADDRESS:
SCO -15, Dayal Bagh,
Near Hanuman Mandir
Ambala Cantt-13300, Haryana
Ph. No.: 9729666670, 8222066670 &0171-4000670
Email ID: [email protected]
Website: www.batracomputercentre.com