Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 24 Αυγ 2015 · I'm using MS Excel to get data from a MySQL database through ODBC. I successfully get data using an SQL query. But now I want that query to be parameterized. So I wonder If it is possible to use a cell value (a spreadsheet cell) as a parameter for such a query. For example, for this query: select name from user where id=1

  2. To calculate a running (sliding) total in Excel, one can pass a relative range of cell values, for example: =SUM(B2:B4). To return the same result in SQL one can add LAG results with increasing offsets.

  3. 15 Ιουν 2018 · You can use GROUP BY and SUM of particular column value. SELECT EmployeeName, SUM(Salary) FROM YourTable GROUP BY EmployeeName

  4. I would like to know if it is possible to reference a cell in Excel depending on the value of another cell. Example. I want to compute the sum of column B from row 1 to the row corresponding to the number given in A1. Something like =SUM( B1:B<NUMBER_IN_A1> ) Is there any way? Use & to create the cell coordinates, access them using INDIRECT().

  5. 7 Μαρ 2020 · I want to use 2 columns in excel (A & B) as parameters in an SQL query to an SQL Server. I then want to drag the query down 200 lines to select the required data from the DB. Pic with Example...

  6. 16 Ιαν 2015 · In this tip we will learn about passing parameters from Excel cells to a Query at run time to import the data from SQL Server using Visual Basic. Solution We have to create the necessary Data Connection to Connect to SQL Server, we will be passing the values entered in the cells to the Query by the click of an ActiveXControl Command Button.

  7. 3 Οκτ 2012 · Anytime you use an aggregate function, (SUM, MIN, MAX... ) with a column in the SELECT statement, you must use GROUP BY. This is a group function that indicates which column to group the aggregate by. Further, any columns that are not in the aggregate cannot be in your SELECT statement.

  1. Γίνεται επίσης αναζήτηση για