I need to remove duplicate rows from the table using Robot framework, can someone please let me know how to perform this?
when i search the account name in my application each name is displaying multiple times.
so my task is to remove duplicate names.
Thanks You!!
Related
I have two tables, XMemberT and VMemberT and I want add certain details into an extra column for VMemberT. (If ID matches, add name and age)
I need the end results where the added columns appear on the left side of VMemberT
I've been stuck trying to figure a way to get the desired results out. May I ask for some help, please?
Use Join for Refrence purpose use this link
https://www.w3schools.com/sql/sql_join.asp
Fist, let me say I know very little about SQL language and am trying to learn (albeit very slowly). I have created a database table with columns for
ECOREGION_ID
ECOREGION_NAME
SPECIES_NAME
CLASS
so that there is one row for each species name in each ecoregion. My end goal is to create a form in which I can enter in multiple species names and search for the ecoregions they share. For example, if I enter into the 4 different search boxes "Tiger", "Red Panda", "Sloth Bear", and "Rhino" it would bring up a list of all the Ecoregions in which these four species share. I am wondering a few things:
Is my data set up in the correct way in order to do this or is there a more efficient way to set i t up?
What statement should I use to create an sql statement to perform the search I want?
What is the technical term for what I am wanting to do? I have tried many different searches on different forums and can't seem to find what I am looking for, mostly because I probably don't know what to search, lol.
Thanks,
-Drew
You have ECORegion_ID and ECORegion_Name in the same table. I would suggest create a separate table to hold ECORegions. This table would have both an ID and Name. The search table would then only have the ECORegion_ID. This process is called normalization. It basically reduces redundant data in your database.
You are looking for a SELECT statement, which is used to pull data out of one or more tables. The statement has a WHERE option to restrict which rows you bring back and an IN expression as part of the WHERE to allow you to look for multiple keywords.
Search for Normalization to see why to put region name in a separate table. Look up SQL Select to get syntax for the select statement you should get off to a good start
I am using webdriver to test our application that contain table where the user can change the order of columns in a table,and also can remove/add columns (This is beside new column added by developers).
What is the right way to find the column I need?
One way is to go over the table header to find the column I am looking for so I have the column index and than I can access the right cell.
Is there other way ?
What about put unique id/class name for every element in table ?
Thanks
You can do two things for this situation:
Get handle to table element, and then navigate accordingly to get the columns or rows. Once you have this, then you can do all operations on them like click() etc.
Other way is, see the pattern of their ids/css because, most of the table that I have deal with will be having ids like this:
grid_name_1
grid_name_2
grid_name_3
Then you can have do this way:
String baseLocator = "grid_name_" + clickedRowIndex;
driver.findElement(By.id(baseLocator)).click(); //for click operation
Lets say user wants to click on the 3rd row, then clickedRowIndex will be 3 which selects the 3rd table row.
I know this is a repost, I have done my research on everything possible and I couldn't find anything to assist nor help me with my current problem. No matter how many times I re-create my Query or Form, I just can't seem to get it to work correctly. if I run my Query, I will get the correct information displayed, but when it comes to adding information through a custom form I made, I get this error -> "cannot add records join key of table not in recordset".
My current Query, incase you wanted to see. I only access vendorNoID from the vendor table. I require all the information from the rest of the tables.
I am able to enter information in this form for tbl_address and tbl_addressType, but I get the error for vendor / purchaseOrder. Any reason whats causing this?!?!
Any advice will be greatly appreciated
The selected value of the vendor combobox got to be bound to [tbl_purchase_order].[vendorID]. To the table, where the selected value is the foreign key.
It's got to be the same as you already did with the address_typeID.
The selected value of the vendor combobox got to be bound to [tbl_purchase_order].[vendorID]. To the table, where the selected value is the foreign key. (#VMai)
In my opinion, open the Query Builder of Form (as picture below), then add column [tbl_purchase_order].[vendorID]
/
Cause I don't have enought reputation for write comment, so I write down here.
Hope it help ! ^^
I'm using Fitnesse + dbFit to verify data in one database table.
If at least one column in a record is wrong the whole record is highlighted. Do you know if Fitnesse can highlight only wrong columns ?
My table has over 100 columns and even if I get information which row is wrong I have to spend much time trying to find a column that contains wrong value.
The fitSharp version of DbFit highlights the cell in error. See http://fitsharp.github.com/