Scan Query 2 Arguments

Scan Query 2 Arguments

i have 2 query

i have 2 query

 selDB, err := db.Query(`SELECT grup_master_code.nama_group FROM grup_master_code
                        SELECT master_code.item_code FROM master_code`)

and when i scan that query, i have error

sql: expected 1 destination arguments in Scan, not 2

Code Scan

var nama_grup, item_code string
err = selDB.Scan(&nama_grup, &item_code)


Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Go Programming and Why should you learn Go Language?

Go provides you high performance like C/C++, super efficient concurrency handling like Java and fun to code like Python/Perl. Go with Golang and why go is the best programming language in the world and Why should you learn Go Language?

Rust vs. Go: Should I Rust, or Should I Go

Well both Rust and Go provide amazing performance. Should you write you’re next big thing with Rust or with Go? Go is fast and powerful, but it avoids bogging the developer down, focusing instead on simplicity and uniformity. Rust. If on the other hand, wringing out every last ounce of performance is a necessity, then Rust should be your choice. Rust is more of a competitor to C++ than it is with Go.