More views in sim_db.
This commit is contained in:
1 parent
4850d279f6
commit
df552e27d6
1 file changed
+12
@@ -165,3 +165,15 @@ from
|
||||
where
|
||||
entry_type='shot_outcome';
|
||||
|
||||
drop view if exists faked_shot_outcomes;
|
||||
create view faked_shot_outcomes as
|
||||
select
|
||||
run_id,
|
||||
val3 symbol,
|
||||
cast(val4 as real) merged_value,
|
||||
cast(val5 as numeric) merged_qty,
|
||||
(val6-val2) duration
|
||||
from
|
||||
log
|
||||
where
|
||||
entry_type='fake_shot_outcome';
|
||||
Reference in new issue
Block a user