Table for the question is attached in the picture below :
Answer:
SELECT distinct(TRUCK_ID), WEIGHT from SHIPMENT where WEIGHT < 800 ;
Step-by-step explanation:
The Structured query language (SQL) defined above, returns only the TRUCK_ID and Weight column from the shipment table as they are the only two columns listed after the select keyword. The condition is added using the WHERE keyword on the weight table, this filters the result returned to include only rows where the weight value is less than 800. The distinct keyword used alongside the TRUCK_ID column ensures that a certian TRUCK_ID value isn't returned more than once (Hence, it is used to avoid duplicates).
To find a percentage of a number, multiply by the decimal form of that percentage(20%=0.20). So, take the cost, $430, and multiply by common state sales tax (7% for me)---430 x 0.07 = 30.10 The sale tax rate is 7%.