Queries sending data to another table [closed]

-3

Hello, I'm in need of some help getting data using where to move to another table: link (table of accounts)

In the print, it shows the "UserID (int)" I need to get all the "UserID (int)" using where

link in this print shows the table where the UserID goes

In the question of where (Where LoginCount = 3) 2 = offline 3 = online

The purpose of this is to send items (from the game to those who are online)

    
asked by anonymous 19.10.2016 / 06:30

1 answer

1
INSERT INTO dbo.WarsEvento (NickName,Status,UserID) SELECT NckName,Status,UserID FROM dbo.Sys_Users_Detail WHERE LoginCount=3
    
19.10.2016 / 12:56