Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database : Queried time :
Edit mode
Customize edit mode.
Edit mode
Documentation Disallow BLOB and BINARY columns from editing. Restore default value
Documentation Display the function fields in edit/insert mode. Restore default value
Documentation Defines whether or not type fields should be initially displayed in edit/insert mode. Restore default value
Documentation How many rows can be inserted at one time. Restore default value
Documentation Sort order for items in a foreign-key dropdown box; content is the referenced data, id is the key value. Restore default value
Documentation A dropdown will be used if fewer items are present. Restore default value
Text fields
Customize text input fields.
Text fields
Documentation Defines which type of editing controls should be used for CHAR and VARCHAR columns; input - allows limiting of input length, textarea - allows newlines in columns. Restore default value
Documentation Defines the minimum size for input fields generated for CHAR and VARCHAR columns. Restore default value
Documentation Defines the maximum size for input fields generated for CHAR and VARCHAR columns. Restore default value
Documentation Number of columns for CHAR/VARCHAR textareas. Restore default value
Documentation Number of rows for CHAR/VARCHAR textareas. Restore default value
Documentation Textarea size (columns) in edit mode, this value will be emphasized for SQL query textareas (*2). Restore default value
Documentation Textarea size (rows) in edit mode, this value will be emphasized for SQL query textareas (*2). Restore default value
Documentation Double size of textarea for LONGTEXT columns. Restore default value
Column Type Function Null Value
id int(11)
allocation_no varchar(40)
order_id int(11)
truck_id int(11)
scheduled_date date
route_sequence int(11)
payment_mode varchar(40)
cash_to_collect decimal(12,2)
pickup_location varchar(255)
dropoff_location varchar(255)
trip_type varchar(20) one_way
route_profile varchar(30) normal
estimated_one_way_distance_km decimal(10,2)
estimated_total_distance_km decimal(10,2)
estimated_cargo_weight_kg decimal(12,2)
load_utilization_percent decimal(10,2)
truck_km_per_liter decimal(10,2)
recommended_km_per_liter decimal(10,2)
diesel_price_per_liter decimal(10,2)
cost_per_km decimal(10,2)
estimated_fuel_liters decimal(10,2)
estimated_fuel_cost decimal(12,2)
actual_start_odometer decimal(12,2)
actual_end_odometer decimal(12,2)
actual_distance_km decimal(10,2)
actual_fuel_liters decimal(10,2)
actual_km_per_liter decimal(10,2)
actual_fuel_cost decimal(12,2)
fuel_variance decimal(12,2)
distance_variance decimal(10,2)
status tinyint(1) 1
notes text
cancel_reason varchar(255)
canceled_at datetime
canceled_by int(11)
proof_path varchar(255)
user_id int(11)
created_at datetime current_timestamp()


Column Type Function Null Value
id int(11)
allocation_no varchar(40)
order_id int(11)
truck_id int(11)
scheduled_date date
route_sequence int(11)
payment_mode varchar(40)
cash_to_collect decimal(12,2)
pickup_location varchar(255)
dropoff_location varchar(255)
trip_type varchar(20) one_way
route_profile varchar(30) normal
estimated_one_way_distance_km decimal(10,2)
estimated_total_distance_km decimal(10,2)
estimated_cargo_weight_kg decimal(12,2)
load_utilization_percent decimal(10,2)
truck_km_per_liter decimal(10,2)
recommended_km_per_liter decimal(10,2)
diesel_price_per_liter decimal(10,2)
cost_per_km decimal(10,2)
estimated_fuel_liters decimal(10,2)
estimated_fuel_cost decimal(12,2)
actual_start_odometer decimal(12,2)
actual_end_odometer decimal(12,2)
actual_distance_km decimal(10,2)
actual_fuel_liters decimal(10,2)
actual_km_per_liter decimal(10,2)
actual_fuel_cost decimal(12,2)
fuel_variance decimal(12,2)
distance_variance decimal(10,2)
status tinyint(1) 1
notes text
cancel_reason varchar(255)
canceled_at datetime
canceled_by int(11)
proof_path varchar(255)
user_id int(11)
created_at datetime current_timestamp()

and then
Use TAB key to move from value to value, or CTRL+arrows to move anywhere.

Continue insertion with rows