text
stringlengths
1
81
start
float64
0
10.1k
duration
float64
0
24.9
And I'll see I have 33 distinct publishers.
4,635.14
4.56
OK.
4,639.7
1.35
So this just about brings us to the conclusion
4,641.05
3.57
of all of these new SQL keywords here.
4,644.62
2.46
We've seen so far that we have several here to use.
4,647.08
3.48
But let's figure out how to actually exit this prompt.
4,650.56
2.615
So you might it be in your SQLite prompt right now.
4,653.175
2.125
If you want to leave it, you could also use this command, dot quit.
4,655.3
4.56
Dot quit is not a SQL keyword.
4,659.86
1.68
It's a SQLite keyword to leave your terminal
4,661.54
2.7
and go back to where you started.
4,664.24
2.98
So just to review then, what we've seen so far
4,667.22
3.59
is how to select data from our table.
4,670.81
2.55
We can use select column to take some column from our table
4,673.36
3.51
and give us back all of those rows from that table for that column.
4,676.87
5.19
We've seen we can apply some aggregate functions to take
4,682.06
3.06
maybe the count of our columns or the average or so on.
4,685.12
3.19
And we can get back not just all of our rows,
4,688.31
2.55
but only some of them using our WHERE clause here along with a condition.
4,690.86
5.37
We could have multiple conditions, having not just one but perhaps two.
4,696.23
4.04
Like, let's say, here, condition 0 and condition 1.
4,700.27
3.21
And we could also use, we saw before, this idea of equals and LIKE
4,703.48
3.63
to match some pattern or to make something exactly equal over here.
4,707.11
3.9
We could, again, use AND and OR.
4,711.01
2.19
And we saw later on how we could order our data
4,713.2
2.67
and use our LIMIT function to get back only some number of rows.
4,715.87
6.07
Now, this then is our interaction to querying.
4,721.94
3.59
And so far, we've seen this world of books.
4,725.53
3.3
And the table we've had so far really just has books inside of it.
4,728.83
3.48
But next time, what we'll see is how to take this world of books and split
4,732.31
4.71
into multiple tables.
4,737.02
1.24
How do we find information on publishers or books or authors too?
4,738.26
3.995
And how do we try to put that in a table that
4,742.255
1.875
can present the relationships among all of these different entities?
4,744.13
3.25
We'll talk about all that and more when we come back next time.
4,747.38
2.625
And we'll see you there.
4,750.005
1.915
[Music]
0.56
15.46
you
13.96
2.06
okay welcome back everyone to web
17.33
3.63
programming with Python and JavaScript
19.49
3.449
and today we turn our attention to the
20.96
3.84
second of the main programming languages
22.939
3.061
that would be looking under this class
24.8
3.54
in particular JavaScript and to get an
26
3.57
understanding for why it is that
28.34
3.269
JavaScript is actually helpful let's go
29.57
3.9
back and revisit this diagram of what
31.609
3.541
communication over the Internet will
33.47
3.45
generally look like oftentimes we'll
35.15
3.24
have a user otherwise known as the
36.92
3.69
client using their computer on their web
38.39
3.87
browser whether that's Chrome or Safari
40.61
3.99
or some other web browser that sends an
42.26
5.549
HTTP request a web request to some sort
44.6
5.459
of web server that server then processes
47.809
4.5
that request and then returns some sort
50.059
3.991
of response that comes back to the
52.309
3.96
client thus far all of the code that
54.05
4.2
we've written the Python web application
56.269
4.02
code running in a Django web application
58.25
4.05
for example has all been code that runs
60.289
4.291
on some sort of server code that is
62.3
4.11
listening for requests doing some
64.58
3.45
computation in order to process that
66.41
3.69
request and then generating some sort of
68.03
4.259
response usually in the form of an HTML
70.1
4.56
template that we then send back to the
72.289
4.5
client what JavaScript is going to
74.66
4.14
enable us to do is to begin to write
76.789
4.591
client-side code javascript is going to
78.8
4.019
allow us to write code that actually
81.38
3.81
runs and inside of the users web browser
82.819
4.591
on the client and this can be useful for
85.19
3.989
a number of reasons one if there's
87.41
3.51
computation that we want to do but we
89.179
3.181
don't need to go out and reach out to a
90.92
3.449
server in order to do so we can do the
92.36
4.349
computation potentially faster just by
94.369
4.051
running the code exclusively on the
96.709
3.66
client and in addition to that we can
98.42
3.869
begin to make our web pages a whole lot
100.369
3.75
more interactive javascript is going to
102.289
3.631
give us the ability to directly
104.119
4.021
manipulate the Dom where again the Dom
105.92
5.009
is the document object model that tree
108.14
5.069
like hierarchy that represents the web
110.929
3.78
page that the user happens to be looking
113.209
3.841
at so javascript will enable us to write
114.709
4.05
code that directly manipulates the
117.05
3.42
content on the web page and we'll see
118.759
3.661
how that can be quite powerful very soon
120.47
4.709
so how do we then use JavaScript inside
122.42
5.19
of a web page in order to add some code
125.179
4.321
add some programming logic to a web page
127.61
4.739
well so far we've already seen HTML the
129.5
4.08
language we use to describe the
132.349
2.28
structure of a web page
133.58
3.84
where a HTML page just describes the
134.629
4.351
structure of a page and in terms of
137.42
3.84
nested tags we had those head tags at
138.98
4.17