Ex02-Query Table Information
Ex02-Query Table Information
ipynb - Colab
%load_ext sql
u'Connected: @data/demo.db3'
* sqlite:///data/demo.db3
Done.
name
rch
hru
sub
sed
watershed_daily
watershed_monthly
watershed_yearly
channel_dimension
hru_info
sub_info
rch_info
ave_plant
ave_annual_hru
ave_monthly_basin
ave_annual_basin
* sqlite:///data/demo.db3
Done.
RCH YR MO FLOW_INcms FLOW_OUTcms EVAPcms TLOSScms SED_INtons SED_OUTtons SEDCONCmg_kg ORGN_INkg ORGN_OUTkg ORGP_INkg ORGP
keyboard_arrow_down :) We get the table information just using SELECT * with key work of LIMIT
You can try to change the limit number to 1, 2 to check the results.
* sqlite:///data/demo.db3
Done.
RCH YR MO FLOW_INcms FLOW_OUTcms EVAPcms TLOSScms SED_INtons SED_OUTtons SEDCONCmg_kg ORGN_INkg ORGN_OUTkg ORGP_INkg ORGP
https://colab.research.google.com/drive/1u05JzMkEoF80Mk0W05hoFhO_58RMeNQ_#printMode=true 1/2
7/25/24, 4:29 PM ex02-Query Table Information.ipynb - Colab
Warning! This table contains too many records. It'd better not query all of them.
https://colab.research.google.com/drive/1u05JzMkEoF80Mk0W05hoFhO_58RMeNQ_#printMode=true 2/2