input: Write a function to scrape hyperlinks from a webpage and store them in a SQLite database.
  assert len(scrape_and_store_links("https://www.example.com")) > 0
  assert isinstance(scrape_and_store_links("https://www.example.com"), list)
  assert all(isinstance(link, str) for link in scrape_and_store_links("https://www.example.com"))
output: import requests
  from bs4 import BeautifulSoup
  import sqlite3
  
  def scrape_and_store_links(url):
      # Make a request to the webpage
      response = requests.get(url)
      response.raise_for_status()  # Raise an exception for HTTP errors
  
      # Parse the webpage content
      soup = BeautifulSoup(response.text, 'html.parser')
  
      # Find all hyperlinks
      links = [a['href'] for a in soup.find_all('a', href=True)]
  
      # Connect to SQLite database (or create it if it doesn't exist)
      conn = sqlite3.connect('links.db')
      cursor = conn.cursor()
  
      # Create a table to store links if it doesn't exist
      cursor.execute('''
          CREATE TABLE IF NOT EXISTS links (
              id INTEGER PRIMARY KEY,
              url TEXT NOT NULL
          )
      ''')
  
      # Insert links into the table
      cursor.executemany('INSERT INTO links (url) VALUES (?)', [(link,) for link in links])
  
      # Commit the transaction and close the connection
      conn.commit()
      conn.close()
  
      return links