-
Notifications
You must be signed in to change notification settings - Fork 0
/
patchwork.sql
57 lines (39 loc) · 842 Bytes
/
patchwork.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#want to create a script to add patch numbers from oracle's elixer to the scraped table
select
url,
patch
from
elixerdata
where patch !="0"
group by url
order by patch;
select patch from all_scrapeddata;
SELECT
url,
patch
FROM
elixerdata
WHERE
url LIKE '%lpl%';
SELECT
e.url,
s.url
FROM
elixerdata e
left Join all_scrapeddata s on e.url = s.url
WHERE
e.url LIKE '%lpl%';
#######################################################
Create or replace view compound_key AS
SELECT
url, gameid, champion
FROM
elixer_leaguestats
where
champion !="";
select url from scraped_leaguestats where url;
select url from elixer_leaguestats limit 500;
select
s.url as scraped,
e.url as elixer
from scraped_leaguestats s, elixer_leaguestats e;