Skip to content

Sql query to convert or display bytes columns into MB?

I have a query as This query would bring the IP addresses that sent more than 1 million bytes within all flows in a specific time frame, you must enter The result is similar to I want the sourcebytes to appear as MB format. Do I need a nested query for that? Thanks. Answer Use this expression. CONCAT is SQL

Calculate price of rental period

I am working on a project for which I need to calculate prices of holiday homes available in a selected rental period. I need some help with building a SQL query that combines the following tables and …

Trying to get a single record involving MAX(Date) and GROUP

I am trying to create a query in which I start with an item number and a customer and I have to determine the last selling price. The tables involved are SOP30200 = Sales Header SOP30300 = Sales Detail lines Given the following code and results: CODE: RESULTS: I am getting 2 records because the query is group…